package top.wbhzx.wangpan.auth;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: JiangZuoWei
 * @Description: 权限配置类
 * @Date: Create in 20:08 2019-05-27
 */
@Component
@ConfigurationProperties(prefix="wbhzx.security")
public class AuthConfig {

    /**
     * 验证路径
     */
    private List<String> authUrls;

    /**
     * 忽略路径
     */
    private List<String> ignoreUrls;

    public List<String> getIgnoreUrls() {
        return ignoreUrls;
    }

    public void setIgnoreUrls(List<String> ignoreUrls) {
        this.ignoreUrls = ignoreUrls;
    }

    public List<String> getAuthUrls() {
        return authUrls;
    }

    public void setAuthUrls(List<String> authUrls) {
        this.authUrls = authUrls;
    }

}
